package com.hisan.freeride.home.model;


import com.hisan.freeride.common.model.BaseModel;

/**
 * 创建时间 : 2017/6/22
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：预约乘坐的行程模板
 */
public class FReserve extends BaseModel {


    /**
     * id : 18
     * trip_id : 685
     * user_id : 10
     * driver_id : 8
     * order_no : 2017112248551024
     * people : 1
     * order_state : 0
     * comment : 0
     * device_id : 0
     * departure_time : 2017-11-22 18:59
     * initially : eying
     * destination : get
     * way : BFF
     * car_no : 京A375AL
     * driver_name : 严先森
     * driver_avatar : http://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83epRhwaBziaTW3qvLibInSxxPWVR7V6hL0TkOtpr6UBVVR0ArXYYlIn7fz3xzGqe4jbjR7AIY7RafQtQ/0
     */

    private int id;
    private int trip_id;
    private int user_id;
    private int driver_id;
    private String order_no;
    private int people;
    private int order_state;
    private int comment;
    private int device_id;
    private String departure_time;
    private String initially;
    private String destination;
    private String way;
    private String car_no;
    private String driver_name;
    private String driver_avatar;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTrip_id() {
        return trip_id;
    }

    public void setTrip_id(int trip_id) {
        this.trip_id = trip_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getDriver_id() {
        return driver_id;
    }

    public void setDriver_id(int driver_id) {
        this.driver_id = driver_id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public int getPeople() {
        return people;
    }

    public void setPeople(int people) {
        this.people = people;
    }

    public int getOrder_state() {
        return order_state;
    }

    public void setOrder_state(int order_state) {
        this.order_state = order_state;
    }

    public int getComment() {
        return comment;
    }

    public void setComment(int comment) {
        this.comment = comment;
    }

    public int getDevice_id() {
        return device_id;
    }

    public void setDevice_id(int device_id) {
        this.device_id = device_id;
    }

    public String getDeparture_time() {
        return departure_time;
    }

    public void setDeparture_time(String departure_time) {
        this.departure_time = departure_time;
    }

    public String getInitially() {
        return initially;
    }

    public void setInitially(String initially) {
        this.initially = initially;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }

    public String getCar_no() {
        return car_no;
    }

    public void setCar_no(String car_no) {
        this.car_no = car_no;
    }

    public String getDriver_name() {
        return driver_name;
    }

    public void setDriver_name(String driver_name) {
        this.driver_name = driver_name;
    }

    public String getDriver_avatar() {
        return driver_avatar;
    }

    public void setDriver_avatar(String driver_avatar) {
        this.driver_avatar = driver_avatar;
    }

    @Override
    public String toString() {
        return "FReserve{" +
                "id=" + id +
                ", trip_id=" + trip_id +
                ", user_id=" + user_id +
                ", driver_id=" + driver_id +
                ", order_no='" + order_no + '\'' +
                ", people=" + people +
                ", order_state=" + order_state +
                ", comment=" + comment +
                ", device_id=" + device_id +
                ", departure_time='" + departure_time + '\'' +
                ", initially='" + initially + '\'' +
                ", destination='" + destination + '\'' +
                ", way='" + way + '\'' +
                ", car_no='" + car_no + '\'' +
                ", driver_name='" + driver_name + '\'' +
                ", driver_avatar='" + driver_avatar + '\'' +
                '}';
    }
}
